def outer():
	x = 10
	
	def inner():
		print x
		
	inner()
	x = 20
	return inner
	
result = outer()
print result

var = result()
print var